#include"test.h"
#include"string.h"
#include"unistd.h"
int show()
{
  char buf[101];
  char quan[]="/-\|";
  memset(buf,'\0',sizeof(buf));
  int i=0;
  while(i<=100)
  {
    printf("[%-100s][%d%%][%c]\r",buf,i,quan[i%4]);
    buf[i++]='#';
    fflush(stdout);
    usleep(100000);
  }
  printf("\n");      
}
int main()
{
	show();
	return 0;
}
